﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;

namespace MRSite.Entity
{
    /// <summary>
    /// 管理日志:实体类
    /// </summary>
    [Table(Name = "manager_log")]
    public partial class manager_log : Entity
    {
        #region Model

        /// <summary>
        /// 自增ID
        /// </summary>
        [Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
        public override int id { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        [Column(Name = "user_id")]
        public int user_id { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        [Column(Name = "user_name")]
        public string user_name { get; set; }

        /// <summary>
        /// 操作类型
        /// </summary>
        [Column(Name = "action_type")]
        public string action_type { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [Column(Name = "remark")]
        public string remark { get; set; }

        /// <summary>
        /// 用户IP
        /// </summary>
        [Column(Name = "user_ip")]
        public string user_ip { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        [Column(Name = "add_time")]
        public DateTime add_time { get; set; }
        #endregion Model
    }
}
